#ifndef __SIPREGISTRATION_HPP__
#define __SIPREGISTRATION_HPP__

#include "SipResipConfigure.hpp"
#include "SipDialog.hpp"

namespace wtsip{

class RESIP_PUBLIC CSipRegistration: public CSipDialogBase
{
public:
    CSipRegistration(CSipDialogSet& dlgset, const resip::Uri& local, const resip::Uri& remote);

    CSipRegistration(CSipDialogSet& dlgset, SipMessage& msg);

    virtual ~CSipRegistration();

    //virtual bool onRequest(CSipClnTransaction& clntran, SipMessage& msg);

    virtual bool onResponse(CSipClnTransaction& clntran, SipMessage& msg);

    virtual bool onRequest(CSipSrvTransaction& srvtran, SipMessage& msg);

    //virtual bool onResponse(CSipSrvTransaction& srvtran, SipMessage& msg);

    SipMessage* createRegister();
};


}//namespace


#endif

